elements of user defined functions